<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加药品信息</title>
    <script src="resources/layui/layui.js"></script>
    <link rel="stylesheet" href="resources/layui/css/layui.css">
    <link rel="stylesheet" href="resources/layui/css/modules/laydate/default/laydate.css">
    <script>
        layui.use('form', function(){
            var form = layui.form;

            form.on('submit(formDemo)', function(data){
                layer.msg(JSON.stringify(data.field));
                return false;
            });
        });
    </script>
<style>
.layui-form-item2{
    width: 100px;
    height: 60px;
    margin-top: 0px;
    margin-left: 480px;
}
</style>
</head>
<body>
<form class="layui-form" action="">
    <div class="layui-form-item2">
        <label class="layui-form-label">流水号</label>
        <div class="layui-input-block">
            <input type="text" name="title" required  style="width: 200px"  lay-verify="required"  placeholder="请输入标题" autocomplete="off" class="layui-input1">
        </div>
    </div>
    <div class="layui-form-item2">
        <label class="layui-form-label">通用名</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input1">
        </div>
    </div>
    <div class="layui-form-item2">
        <label class="layui-form-label">规格</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input1">
        </div>
    </div>
    <div class="layui-form-item2">
        <label class="layui-form-label">转换系数</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input1">
        </div>
    </div>
    <div class="layui-form-item2">
        <label class="layui-form-label">商品名</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input1">
        </div>
    </div>
    <div class="layui-form-item2">
        <label class="layui-form-label">批准文号</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input1">
        </div>
    </div>

    <div class="layui-form-item2">
        <label class="layui-form-label">包装单位</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input1">
        </div>
    </div>
    <div class="layui-form-item2">
        <label class="layui-form-label">零售价出处</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input1">
        </div>
    </div>
    <div class="layui-form-item2">
        <label class="layui-form-label">质量层次说明</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px;top: 100px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input1">
        </div>
    </div>
    <div class="layui-form-item2">
        <label class="layui-form-label">药品检验报告编号</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input1">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">流水号</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">通用名</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">规格</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">转换系数</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">商品名</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">批准文号</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否进口药</label>
        <div class="layui-input-block">
            <input type="radio" name="sex" value="是" title="是">
            <input type="radio" name="sex" value="否" title="否" checked>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">包装单位</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">零售价出处</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">质量层次说明</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">药品检验报告编号</label>
        <div class="layui-input-block">
            <input type="text" name="title" required style="width: 200px" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">产品说明</label>
        <div class="layui-input-block">
            <textarea name="desc" placeholder="请输入内容" style="width: 1000px" class="layui-textarea"></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">交易状态</label>
        <div class="layui-input-block"style="width: 200px">
            <select name="city"  lay-verify="required">
                <option value=""></option>
                <option value="0">正常</option>
                <option value="1">异常</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
</body>
</html>
